package com.ruoyi.deal.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 收藏管理对象 hy_deal_collect
 *
 * @author lixin
 * @date 2021-07-04
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("hy_deal_collect")
public class HyDealCollect implements Serializable {

    private static final long serialVersionUID=1L;


    /** 商品所属用户ID */
    private Integer userId;

    /** 商品ID */
    private Integer goodsId;

    /** 创建时间 */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

}
